package com.nand.library.base.utils;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

/**
 * @name BlockDemo
 * @class name：com.nand.library.base.utils
 * @classdescribe
 * @anthor ljp
 * @time 2020/3/3 15:33
 */
public class DialogLookShow {

    private static   AlertDialog.Builder normalDialog;

    /**
     *  @author ljp
     *  @time   15:36
     *  @describe 点击查看更多内容dialog
     */
    public static void showDialog(Context context,String title,String content){
        normalDialog =
                new AlertDialog.Builder(context);
        normalDialog.setTitle(title);
        normalDialog.setMessage(content);
        normalDialog.setNegativeButton("关闭", new DialogInterface.OnClickListener() {
            @Override
            public void onClick(DialogInterface dialogInterface, int i) {

            }
        });
        normalDialog.show();
    }
}
